package com.yuyou.fn.educational.entity;

import java.io.Serializable;
import java.util.Date;

import com.github.wens.mybatisplus.annotations.TableField;
import com.github.wens.mybatisplus.annotations.TableId;
import com.github.wens.mybatisplus.annotations.TableName;
import com.github.wens.mybatisplus.examples.Example;

/**
 *
 * 出勤记录详情
 *
 */
@TableName(value = "attendance_record_detail")
public class AttendanceRecordDetail implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	public static Example<AttendanceRecordDetail> createExample(){
		return new Example<AttendanceRecordDetail>(AttendanceRecordDetail.class);
	}

	/**  */
	@TableId(value = "detail_id")
	private Long detailId;

	/** 考勤记录ID */
	@TableField(value = "record_id")
	private Long recordId;

	/** 学生ID */
	@TableField(value = "student_id")
	private Long studentId;

	/** 出勤状态 0:出勤 1:缺勤 2:迟到 3:请假 */
	@TableField(value = "attendance_status")
	private Integer attendanceStatus;

	/**  */
	@TableField(value = "create_time")
	private Date createTime;

	/**  */
	@TableField(value = "update_time")
	private Date updateTime;

	@TableField("student_name")
	private String studentName ;


	public Long getDetailId() {
		return this.detailId;
	}

	public void setDetailId(Long detailId) {
		this.detailId = detailId;
	}

	public Long getRecordId() {
		return this.recordId;
	}

	public void setRecordId(Long recordId) {
		this.recordId = recordId;
	}

	public Long getStudentId() {
		return this.studentId;
	}

	public void setStudentId(Long studentId) {
		this.studentId = studentId;
	}

	public Integer getAttendanceStatus() {
		return this.attendanceStatus;
	}

	public void setAttendanceStatus(Integer attendanceStatus) {
		this.attendanceStatus = attendanceStatus;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getStudentName() {
		return studentName;
	}

	public void setStudentName(String studentName) {
		this.studentName = studentName;
	}
}
